//
//  KKNetworkRequest+V1.h
//  ReplyAssistant
//
//  Created by liaozhenming on 2018/11/23.
//  Copyright © 2018 KK. All rights reserved.
//

#import "KKNetworkRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface KKNetworkRequest (V1)

//  微信登录
+ (instancetype)request_wxloginWithCode:(NSString*)code;

//  客服注册并且登录
+ (instancetype)request_loginWithTicketId:(NSString*)ticketid deviceId:(NSString*)deviceId uid:(NSString*)uid;

//
+ (instancetype)request_loginWithTicketId:(NSString*)ticketid deviceId:(NSString*)deviceId nickName:(NSString*)nickname headimg:(NSString*)headimg;

//  获取会话列表
+ (instancetype)request_getChatItems;

//  获取单个会话
+ (instancetype)request_getChatItemDetail:(NSString*)itemId;

//  回复消息
+ (instancetype)request_replyContent:(NSString*)content receiveId:(NSString*)receiveId;
+ (instancetype)request_replyContentWithParmeters:(NSDictionary*)parmeters receiveId:(NSString*)receiveId;

//  删除会话
+ (instancetype)request_deleteChatItem:(NSString*)itemId;

//  停止开启接入服务
+ (instancetype)request_updateServiceStatus:(BOOL)status;

//  获取客服信息
+ (instancetype)request_getUserInfo;

//
+ (instancetype)request_ping;

//  更换客服头像信息
+ (instancetype)request_updateUserHeadimg:(NSString*)imagePath;

@end

NS_ASSUME_NONNULL_END
